package io.github.siltal.examsystembackend.repository;

import io.github.siltal.examsystembackend.entity.ExamHistory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ExamHistoryRepository extends JpaRepository<ExamHistory, Long> {
    // 你可以在这里添加自定义的查询方法，例如根据用户ID查找历史记录
     List<ExamHistory> findByUserId(Long userId);
}